package Com.Isman.WebService.ComplexType;

import java.io.Serializable;

import org.ksoap2.serialization.SoapObject;


public class HotelDetail implements Serializable{

	private static final long serialVersionUID = 1L;

	private boolean available;

    private String detail;
    private String email;
    private String features;
    private String location;
    private String mobilePhone;

    private String officeTelephone;
    private String policy;
    private String propertyAmenities;
    private String website;
    
    //constructor 
    public HotelDetail() {	}
    public HotelDetail(SoapObject soap) {	
    	available = Boolean.parseBoolean(soap.getProperty("Available").toString());

        detail		= soap.getProperty("Detail").toString();
        features 	= soap.getProperty("Features").toString();
        location	= soap.getProperty("Location").toString();
        policy		= soap.getProperty("Policy").toString();
        propertyAmenities	= soap.getProperty("PropertyAmenities").toString();
        
        officeTelephone	= soap.getProperty("OfficeTelephone").toString();
//        mobilePhone	= soap.getProperty("MobilePhone").toString();
//        email		= soap.getProperty("Email").toString();
//        website		= soap.getProperty("Website").toString();
    }
    
	
	public String getDetail() {
		return detail;
	}
	public String getEmail() {
		return email;
	}
	public String getFeatures() {
		return features;
	}
	public String getLocation() {
		return location;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public String getOfficeTelephone() {
		return officeTelephone;
	}
	public String getPolicy() {
		return policy;
	}
	public String getPropertyAmenities() {
		return propertyAmenities;
	}
	public String getWebsite() {
		return website;
	}
	public boolean isAvailable() {
		return available;
	}
	public void setAvailable(boolean available) {
		this.available = available;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public void setFeatures(String features) {
		this.features = features;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public void setOfficeTelephone(String officeTelephone) {
		this.officeTelephone = officeTelephone;
	}
	public void setPolicy(String policy) {
		this.policy = policy;
	}
	public void setPropertyAmenities(String propertyAmenities) {
		this.propertyAmenities = propertyAmenities;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
}
